package com.joker.airoleplayplatformback.service;


import org.springframework.util.StopWatch;

/**
 * 性能监控服务接口
 * @author feixiang.li
 * @since 2025-09-28
 */
public interface PerformanceMonitorService {

    public String getPerformanceReport();


    public double getStepAverageTime(String stepName);

    void checkPerformanceBottleneck();

    double getPerformanceThreshold(String stepName);

    void clearStatistics();

    void recordCompleteProcess(StopWatch stopWatch);

    void recordStepPerformance(String stepName, long timeMillis);

}
